package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_l_ck_inn_dishes_upgrade", desc = "食神谱技能升级记录", autoSave = true, uploadCk = true)
public class LogDishesUpgrade extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "菜品id")
    private int dishesId;
    @FieldTypeAnnotation(desc = "菜系")
    private int dishesType;
    @FieldTypeAnnotation(desc = "原等级")
    private int oldLv;
    @FieldTypeAnnotation(desc = "现等级")
    private int level;


    public LogDishesUpgrade(long userId, int dishesId, int dishesType, int oldLv, int level) {
        this.userId = userId;
        this.dishesId = dishesId;
        this.dishesType = dishesType;
        this.oldLv = oldLv;
        this.level = level;
    }

    public long getUserId() {
        return userId;
    }
}
